package net.zjitc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("sp_attribute")
public class Attribute {
    @TableId(type = IdType.AUTO)
    private Integer attr_id;
    private String attr_name;
    private Integer cat_id;
    private String attr_sel;
    private String attr_write;
    private String attr_vals;

    public void setAttrId(Integer attr_id) {
        this.attr_id = attr_id;
    }

    public void setAttrName(String attr_name) {
        this.attr_name = attr_name;
    }

    public void setCatId(Integer cat_id) {
        this.cat_id = cat_id;
    }

    public void setAttrSel(String attr_sel) {
        this.attr_sel = attr_sel;
    }

    public void setAttrWrite(String attr_write) {
        this.attr_write = attr_write;
    }

    public void setAttrVals(String attr_vals) {
        this.attr_vals = attr_vals;
    }
}
